package com.fjh.jdk.tread;

/**
 * @Org www.ecareyun.com
 * @Author FJH
 * @Date 2021/7/23 17:32
 * @Desc
 */
public class ThreadTest {

    public static void main(String[] args) {

        Thread t1 = new Thread(() -> {
            System.out.println("t1.....");
        });
        Thread t2 = new Thread(() -> {
            System.out.println("t2.....");
        });
        MyThread myTread = new MyThread();
        myTread.run();
        t1.start();
        t1.start();
        t2.start();
    }


}
